package com.news.model.auto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 达瓦里氏
 * @since 2021-12-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class News extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 国外id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 国外标题
     */
    private String title;

    /**
     * 图片
     */
    private String img;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 发布机构
     */
    private String baby;

    /**
     * 类别id
     */
    private String other;

    /**
     * 发布时间
     */
    private LocalDateTime time;


}
